package entity.sparemanage;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 采购明细
 * </p>
 *
 * @author beisheng
 * @since 2023-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ProcurementDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "procurement_id", type = IdType.AUTO)
    private Integer procurementId;

    /**
     * 采购单ID
     */
    private Integer procureId;

    /**
     * 备件ID
     */
    private Integer spId;

    /**
     * 采购数量
     */
    private String proNumber;

    /**
     * 备件单价(元)
     */
    private Double proPrice;

    /**
     * 购买总金额
     */
    @TableField("pro_allMoney")
    private String proAllmoney;


}
